<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Simple Framework: Assets/Scripts/Procedure/LoginProcedure.cs 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Simple Framework
   &#160;<span id="projectnumber">v0.1.1</span>
   </div>
   <div id="projectbrief">A simple Unity application framework</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_login_procedure_8cs_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">LoginProcedure.cs</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="keyword">using</span> <a class="code" href="namespace_system.html">System</a>;</div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="keyword">using</span> <a class="code" href="namespace_system.html">System</a>.Collections;</div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="keyword">using</span> <a class="code" href="namespace_system.html">System</a>.Collections.Generic;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="keyword">using</span> <a class="code" href="namespace_app.html">App</a>.<a class="code" href="namespace_app_1_1_common.html">Common</a>;</div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="keyword">using</span> <a class="code" href="namespace_framework.html">Framework</a>.<a class="code" href="namespace_framework_1_1_core.html">Core</a>;</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="keyword">using</span> <a class="code" href="namespace_framework.html">Framework</a>.<a class="code" href="namespace_framework_1_1_utilities.html">Utilities</a>;</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="keyword">using</span> <a class="code" href="namespace_unity_engine.html">UnityEngine</a>;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_app.html">App</a>.Procedure</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;{</div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="class_app_1_1_procedure_1_1_login_procedure.html">   14</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_app_1_1_procedure_1_1_login_procedure.html">LoginProcedure</a> : <a class="code" href="class_framework_1_1_core_1_1_procedure_base.html">ProcedureBase</a></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;    {</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;        <span class="keyword">private</span> <a class="code" href="class_framework_1_1_core_1_1_message_queue.html">MessageQueue&lt;LoginMsg&gt;</a> _messageQueue;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_app_1_1_procedure_1_1_login_procedure.html#a638ca2c907598f7209291855b23779f8">   21</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">void</span> <a class="code" href="class_app_1_1_procedure_1_1_login_procedure.html#a638ca2c907598f7209291855b23779f8">OnEnter</a>()</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;        {</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;            base.OnEnter();</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;            <span class="comment">//设置默认的消息队列和UI，并获取消息队列</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;            _messageQueue = SetDefault&lt;LoginMsg&gt;(<span class="stringliteral">&quot;LoginUI&quot;</span>) as <a class="code" href="class_framework_1_1_core_1_1_message_queue.html">MessageQueue&lt;LoginMsg&gt;</a>;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;            <span class="comment">//注册监听登录这一项消息</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;            _messageQueue.<a class="code" href="class_framework_1_1_core_1_1_message_queue.html#a9c56bdfdc642548fed0d9fcac7a81825">RegisterHandler</a>(<a class="code" href="namespace_app_1_1_procedure.html#ab208b4f25571e909093ed142387b370c">LoginMsg</a>.Login, Login);</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;        }</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_app_1_1_procedure_1_1_login_procedure.html#a3b02c8a4600ecb96b915ffed8f3852b9">   37</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_app_1_1_procedure_1_1_login_procedure.html#a3b02c8a4600ecb96b915ffed8f3852b9">Login</a>(<span class="keywordtype">object</span> sender, EventArgs args)</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        {</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;            <a class="code" href="class_app_1_1_procedure_1_1_login_event_args.html">LoginEventArgs</a> loginArg = args as <a class="code" href="class_app_1_1_procedure_1_1_login_event_args.html">LoginEventArgs</a>;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;            <span class="comment">//登录成功或者失败，这里应该是向服务器发送数据并等待回调</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;            <span class="keywordflow">if</span> (loginArg.<a class="code" href="class_app_1_1_procedure_1_1_login_event_args.html#a92879ee9a543933710ba99a7a3146122">UserName</a> == <span class="stringliteral">&quot;123&quot;</span> &amp;&amp; loginArg.<a class="code" href="class_app_1_1_procedure_1_1_login_event_args.html#a5fe787f5d5a2792556c0b9c572861352">Password</a> == <span class="stringliteral">&quot;456&quot;</span>)</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;            {</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;                <span class="comment">//保存用户信息</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;                <a class="code" href="class_app_1_1_common_1_1_data.html">Data</a>.<a class="code" href="class_framework_1_1_utilities_1_1_mono_singleton.html#a35c9a8dcb36043b4834bdd8dd95331f8">Instance</a>.UserName = loginArg.<a class="code" href="class_app_1_1_procedure_1_1_login_event_args.html#a92879ee9a543933710ba99a7a3146122">UserName</a>;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;                <a class="code" href="class_app_1_1_common_1_1_data.html">Data</a>.<a class="code" href="class_framework_1_1_utilities_1_1_mono_singleton.html#a35c9a8dcb36043b4834bdd8dd95331f8">Instance</a>.Password = loginArg.<a class="code" href="class_app_1_1_procedure_1_1_login_event_args.html#a5fe787f5d5a2792556c0b9c572861352">Password</a>;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;                <span class="comment">//登录成功</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;                <a class="code" href="class_framework_1_1_core_1_1_launcher.html">Launcher</a>.<a class="code" href="class_framework_1_1_utilities_1_1_mono_singleton.html#a35c9a8dcb36043b4834bdd8dd95331f8">Instance</a>.StartCoroutine(LoginSuccess());</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;            }</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;            <span class="keywordflow">else</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;            {</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;                <span class="comment">//登录失败</span></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;                <a class="code" href="class_framework_1_1_core_1_1_launcher.html">Launcher</a>.<a class="code" href="class_framework_1_1_utilities_1_1_mono_singleton.html#a35c9a8dcb36043b4834bdd8dd95331f8">Instance</a>.StartCoroutine(LoginFail());</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;            }</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        }</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        <span class="keyword">private</span> IEnumerator LoginSuccess()</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        {</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;            <span class="comment">//等待一秒钟假装一下</span></div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;            yield <span class="keywordflow">return</span> <span class="keyword">new</span> WaitForSeconds(1);</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;            <a class="code" href="class_app_1_1_procedure_1_1_login_reply_event_args.html">LoginReplyEventArgs</a> reply = <span class="keyword">new</span> <a class="code" href="class_app_1_1_procedure_1_1_login_reply_event_args.html">LoginReplyEventArgs</a>()</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;            {</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;                Success = <span class="keyword">true</span>,</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;                Message = <a class="code" href="class_framework_1_1_utilities_1_1_localization.html">Localization</a>.<a class="code" href="class_framework_1_1_utilities_1_1_singleton.html#a3e8f42f51188ce789d8eceba2717356d">Instance</a>.GetText(<span class="stringliteral">&quot;LoginSuccess&quot;</span>)</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;            };</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;            _messageQueue.<a class="code" href="class_framework_1_1_core_1_1_message_queue.html#ab8669487e327e8d37b8ff3aed3ab7689">DispatchMessage</a>(<a class="code" href="namespace_app_1_1_procedure.html#ab208b4f25571e909093ed142387b370c">LoginMsg</a>.LoginReply, <span class="keyword">this</span>, reply);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;            <span class="comment">//切换到下一个流程</span></div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;            <a class="code" href="class_framework_1_1_core_1_1_procedure_manager.html">ProcedureManager</a>.<a class="code" href="class_framework_1_1_utilities_1_1_singleton.html#a3e8f42f51188ce789d8eceba2717356d">Instance</a>.ChangeTo&lt;<a class="code" href="class_app_1_1_procedure_1_1_guide_procedure.html">GuideProcedure</a>&gt;();</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        }</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        <span class="keyword">private</span> IEnumerator LoginFail()</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        {</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;            <span class="comment">//等待一秒钟假装一下</span></div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;            yield <span class="keywordflow">return</span> <span class="keyword">new</span> WaitForSeconds(1);</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;            <a class="code" href="class_app_1_1_procedure_1_1_login_reply_event_args.html">LoginReplyEventArgs</a> reply = <span class="keyword">new</span> <a class="code" href="class_app_1_1_procedure_1_1_login_reply_event_args.html">LoginReplyEventArgs</a>()</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;            {</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;                Success = <span class="keyword">false</span>,</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;                Message = <a class="code" href="class_framework_1_1_utilities_1_1_localization.html">Localization</a>.<a class="code" href="class_framework_1_1_utilities_1_1_singleton.html#a3e8f42f51188ce789d8eceba2717356d">Instance</a>.GetText(<span class="stringliteral">&quot;LoginFail&quot;</span>)</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;            };</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;            _messageQueue.<a class="code" href="class_framework_1_1_core_1_1_message_queue.html#ab8669487e327e8d37b8ff3aed3ab7689">DispatchMessage</a>(<a class="code" href="namespace_app_1_1_procedure.html#ab208b4f25571e909093ed142387b370c">LoginMsg</a>.LoginReply, <span class="keyword">this</span>, reply);</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        }</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    }</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="namespace_app_1_1_procedure.html#ab208b4f25571e909093ed142387b370c">  100</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">enum</span> <a class="code" href="namespace_app_1_1_procedure.html#ab208b4f25571e909093ed142387b370c">LoginMsg</a></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    {</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        None,</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;        Login,</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;        LoginReply</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    }</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="class_app_1_1_procedure_1_1_login_event_args.html">  110</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_app_1_1_procedure_1_1_login_event_args.html">LoginEventArgs</a> : EventArgs</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    {</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="class_app_1_1_procedure_1_1_login_event_args.html#a92879ee9a543933710ba99a7a3146122">  115</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> UserName { <span class="keyword">get</span>; <span class="keyword">set</span>; }</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="class_app_1_1_procedure_1_1_login_event_args.html#a5fe787f5d5a2792556c0b9c572861352">  120</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> Password { <span class="keyword">get</span>; <span class="keyword">set</span>; }</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    }</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="class_app_1_1_procedure_1_1_login_reply_event_args.html">  126</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_app_1_1_procedure_1_1_login_reply_event_args.html">LoginReplyEventArgs</a> : EventArgs</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    {</div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="class_app_1_1_procedure_1_1_login_reply_event_args.html#a6e13ddd299bd46ed542598b49eda6c21">  131</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">bool</span> <a class="code" href="class_app_1_1_procedure_1_1_login_reply_event_args.html#a6e13ddd299bd46ed542598b49eda6c21">Success</a>;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="class_app_1_1_procedure_1_1_login_reply_event_args.html#ad23083b697fd0d2ae491862db968596c">  136</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> <a class="code" href="class_app_1_1_procedure_1_1_login_reply_event_args.html#ad23083b697fd0d2ae491862db968596c">Message</a>;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    }</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;}</div><div class="ttc" id="class_app_1_1_procedure_1_1_login_reply_event_args_html"><div class="ttname"><a href="class_app_1_1_procedure_1_1_login_reply_event_args.html">App.Procedure.LoginReplyEventArgs</a></div><div class="ttdoc">登录的回复事件参数，即服务器消息 </div><div class="ttdef"><b>Definition:</b> <a href="_login_procedure_8cs_source.html#l00126">LoginProcedure.cs:126</a></div></div>
<div class="ttc" id="class_app_1_1_procedure_1_1_login_procedure_html_a3b02c8a4600ecb96b915ffed8f3852b9"><div class="ttname"><a href="class_app_1_1_procedure_1_1_login_procedure.html#a3b02c8a4600ecb96b915ffed8f3852b9">App.Procedure.LoginProcedure.Login</a></div><div class="ttdeci">void Login(object sender, EventArgs args)</div><div class="ttdoc">登录的回调 </div><div class="ttdef"><b>Definition:</b> <a href="_login_procedure_8cs_source.html#l00037">LoginProcedure.cs:37</a></div></div>
<div class="ttc" id="class_app_1_1_procedure_1_1_login_reply_event_args_html_a6e13ddd299bd46ed542598b49eda6c21"><div class="ttname"><a href="class_app_1_1_procedure_1_1_login_reply_event_args.html#a6e13ddd299bd46ed542598b49eda6c21">App.Procedure.LoginReplyEventArgs.Success</a></div><div class="ttdeci">bool Success</div><div class="ttdoc">是否登录成功。 </div><div class="ttdef"><b>Definition:</b> <a href="_login_procedure_8cs_source.html#l00131">LoginProcedure.cs:131</a></div></div>
<div class="ttc" id="class_app_1_1_procedure_1_1_login_procedure_html"><div class="ttname"><a href="class_app_1_1_procedure_1_1_login_procedure.html">App.Procedure.LoginProcedure</a></div><div class="ttdoc">登录流程。 </div><div class="ttdef"><b>Definition:</b> <a href="_login_procedure_8cs_source.html#l00014">LoginProcedure.cs:14</a></div></div>
<div class="ttc" id="namespace_app_html"><div class="ttname"><a href="namespace_app.html">App</a></div></div>
<div class="ttc" id="class_app_1_1_procedure_1_1_login_procedure_html_a638ca2c907598f7209291855b23779f8"><div class="ttname"><a href="class_app_1_1_procedure_1_1_login_procedure.html#a638ca2c907598f7209291855b23779f8">App.Procedure.LoginProcedure.OnEnter</a></div><div class="ttdeci">override void OnEnter()</div><div class="ttdoc">当进入该流程时执行。 </div><div class="ttdef"><b>Definition:</b> <a href="_login_procedure_8cs_source.html#l00021">LoginProcedure.cs:21</a></div></div>
<div class="ttc" id="class_app_1_1_procedure_1_1_login_event_args_html_a5fe787f5d5a2792556c0b9c572861352"><div class="ttname"><a href="class_app_1_1_procedure_1_1_login_event_args.html#a5fe787f5d5a2792556c0b9c572861352">App.Procedure.LoginEventArgs.Password</a></div><div class="ttdeci">string Password</div><div class="ttdoc">密码。 </div><div class="ttdef"><b>Definition:</b> <a href="_login_procedure_8cs_source.html#l00120">LoginProcedure.cs:120</a></div></div>
<div class="ttc" id="namespace_system_html"><div class="ttname"><a href="namespace_system.html">System</a></div></div>
<div class="ttc" id="namespace_framework_1_1_core_html"><div class="ttname"><a href="namespace_framework_1_1_core.html">Framework.Core</a></div><div class="ttdef"><b>Definition:</b> <a href="_launcher_8cs_source.html#l00005">Launcher.cs:5</a></div></div>
<div class="ttc" id="namespace_framework_1_1_utilities_html"><div class="ttname"><a href="namespace_framework_1_1_utilities.html">Framework.Utilities</a></div><div class="ttdef"><b>Definition:</b> <a href="_localization_8cs_source.html#l00008">Localization.cs:8</a></div></div>
<div class="ttc" id="namespace_app_1_1_common_html"><div class="ttname"><a href="namespace_app_1_1_common.html">App.Common</a></div><div class="ttdef"><b>Definition:</b> <a href="_data_8cs_source.html#l00006">Data.cs:6</a></div></div>
<div class="ttc" id="class_app_1_1_procedure_1_1_guide_procedure_html"><div class="ttname"><a href="class_app_1_1_procedure_1_1_guide_procedure.html">App.Procedure.GuideProcedure</a></div><div class="ttdoc">引导流程。 </div><div class="ttdef"><b>Definition:</b> <a href="_guide_procedure_8cs_source.html#l00011">GuideProcedure.cs:11</a></div></div>
<div class="ttc" id="class_app_1_1_procedure_1_1_login_event_args_html"><div class="ttname"><a href="class_app_1_1_procedure_1_1_login_event_args.html">App.Procedure.LoginEventArgs</a></div><div class="ttdoc">登录事件参数。 </div><div class="ttdef"><b>Definition:</b> <a href="_login_procedure_8cs_source.html#l00110">LoginProcedure.cs:110</a></div></div>
<div class="ttc" id="class_app_1_1_common_1_1_data_html"><div class="ttname"><a href="class_app_1_1_common_1_1_data.html">App.Common.Data</a></div><div class="ttdoc">非持久化数据存储类。 </div><div class="ttdef"><b>Definition:</b> <a href="_data_8cs_source.html#l00011">Data.cs:11</a></div></div>
<div class="ttc" id="class_framework_1_1_core_1_1_message_queue_html"><div class="ttname"><a href="class_framework_1_1_core_1_1_message_queue.html">Framework.Core.MessageQueue&lt; LoginMsg &gt;</a></div></div>
<div class="ttc" id="class_app_1_1_procedure_1_1_login_reply_event_args_html_ad23083b697fd0d2ae491862db968596c"><div class="ttname"><a href="class_app_1_1_procedure_1_1_login_reply_event_args.html#ad23083b697fd0d2ae491862db968596c">App.Procedure.LoginReplyEventArgs.Message</a></div><div class="ttdeci">string Message</div><div class="ttdoc">附带的消息之类的。 </div><div class="ttdef"><b>Definition:</b> <a href="_login_procedure_8cs_source.html#l00136">LoginProcedure.cs:136</a></div></div>
<div class="ttc" id="class_framework_1_1_core_1_1_message_queue_html_ab8669487e327e8d37b8ff3aed3ab7689"><div class="ttname"><a href="class_framework_1_1_core_1_1_message_queue.html#ab8669487e327e8d37b8ff3aed3ab7689">Framework.Core.MessageQueue.DispatchMessage</a></div><div class="ttdeci">void DispatchMessage(TEventType msgId, object sender, EventArgs param=null)</div><div class="ttdoc">向所有注册的处理方法分发指定消息。 </div><div class="ttdef"><b>Definition:</b> <a href="_message_queue_8cs_source.html#l00079">MessageQueue.cs:79</a></div></div>
<div class="ttc" id="class_framework_1_1_core_1_1_procedure_base_html"><div class="ttname"><a href="class_framework_1_1_core_1_1_procedure_base.html">Framework.Core.ProcedureBase</a></div><div class="ttdoc">所有流程的基类。 </div><div class="ttdef"><b>Definition:</b> <a href="_procedure_base_8cs_source.html#l00008">ProcedureBase.cs:8</a></div></div>
<div class="ttc" id="class_framework_1_1_utilities_1_1_localization_html"><div class="ttname"><a href="class_framework_1_1_utilities_1_1_localization.html">Framework.Utilities.Localization</a></div><div class="ttdoc">本地化管理，负责文本信息的提供。 </div><div class="ttdef"><b>Definition:</b> <a href="_localization_8cs_source.html#l00013">Localization.cs:13</a></div></div>
<div class="ttc" id="namespace_framework_html"><div class="ttname"><a href="namespace_framework.html">Framework</a></div></div>
<div class="ttc" id="namespace_app_1_1_procedure_html_ab208b4f25571e909093ed142387b370c"><div class="ttname"><a href="namespace_app_1_1_procedure.html#ab208b4f25571e909093ed142387b370c">App.Procedure.LoginMsg</a></div><div class="ttdeci">LoginMsg</div><div class="ttdoc">登录消息类型枚举。 </div><div class="ttdef"><b>Definition:</b> <a href="_login_procedure_8cs_source.html#l00100">LoginProcedure.cs:100</a></div></div>
<div class="ttc" id="class_app_1_1_procedure_1_1_login_event_args_html_a92879ee9a543933710ba99a7a3146122"><div class="ttname"><a href="class_app_1_1_procedure_1_1_login_event_args.html#a92879ee9a543933710ba99a7a3146122">App.Procedure.LoginEventArgs.UserName</a></div><div class="ttdeci">string UserName</div><div class="ttdoc">用户名 </div><div class="ttdef"><b>Definition:</b> <a href="_login_procedure_8cs_source.html#l00115">LoginProcedure.cs:115</a></div></div>
<div class="ttc" id="class_framework_1_1_utilities_1_1_mono_singleton_html_a35c9a8dcb36043b4834bdd8dd95331f8"><div class="ttname"><a href="class_framework_1_1_utilities_1_1_mono_singleton.html#a35c9a8dcb36043b4834bdd8dd95331f8">Framework.Utilities.MonoSingleton.Instance</a></div><div class="ttdeci">static T Instance</div><div class="ttdoc">实例 </div><div class="ttdef"><b>Definition:</b> <a href="_singleton_8cs_source.html#l00064">Singleton.cs:64</a></div></div>
<div class="ttc" id="class_framework_1_1_core_1_1_procedure_manager_html"><div class="ttname"><a href="class_framework_1_1_core_1_1_procedure_manager.html">Framework.Core.ProcedureManager</a></div><div class="ttdoc">流程管理，管理整个软件使用流程，以及流程之间的切换。 </div><div class="ttdef"><b>Definition:</b> <a href="_procedure_manager_8cs_source.html#l00012">ProcedureManager.cs:12</a></div></div>
<div class="ttc" id="class_framework_1_1_core_1_1_message_queue_html_a9c56bdfdc642548fed0d9fcac7a81825"><div class="ttname"><a href="class_framework_1_1_core_1_1_message_queue.html#a9c56bdfdc642548fed0d9fcac7a81825">Framework.Core.MessageQueue.RegisterHandler</a></div><div class="ttdeci">void RegisterHandler(TEventType msgId, EventHandler&lt; EventArgs &gt; callback)</div><div class="ttdoc">注册一个消息处理方法。 </div><div class="ttdef"><b>Definition:</b> <a href="_message_queue_8cs_source.html#l00030">MessageQueue.cs:30</a></div></div>
<div class="ttc" id="class_framework_1_1_utilities_1_1_singleton_html_a3e8f42f51188ce789d8eceba2717356d"><div class="ttname"><a href="class_framework_1_1_utilities_1_1_singleton.html#a3e8f42f51188ce789d8eceba2717356d">Framework.Utilities.Singleton.Instance</a></div><div class="ttdeci">static T Instance</div><div class="ttdoc">实例 </div><div class="ttdef"><b>Definition:</b> <a href="_singleton_8cs_source.html#l00020">Singleton.cs:20</a></div></div>
<div class="ttc" id="namespace_unity_engine_html"><div class="ttname"><a href="namespace_unity_engine.html">UnityEngine</a></div></div>
<div class="ttc" id="class_framework_1_1_core_1_1_launcher_html"><div class="ttname"><a href="class_framework_1_1_core_1_1_launcher.html">Framework.Core.Launcher</a></div><div class="ttdoc">程序入口，对各项管理类进行初始化操作。 </div><div class="ttdef"><b>Definition:</b> <a href="_launcher_8cs_source.html#l00010">Launcher.cs:10</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_84bbf7b3c7f28a5a18725745e1505219.html">Assets</a></li><li class="navelem"><a class="el" href="dir_f13b41af88cf68434578284aaf699e39.html">Scripts</a></li><li class="navelem"><a class="el" href="dir_aa332200d81a16ba08e711476454e116.html">Procedure</a></li><li class="navelem"><b>LoginProcedure.cs</b></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
